x11: Fix return value of get_device_state
authorMatthias Clasen <mclasen@redhat.com>
Wed, 26 Aug 2020 20:20:34 +0000 (16:20 -0400)
committerAhmed Eldemery <aeldemery.de@gmail.com>
Fri, 28 Aug 2020 16:45:01 +0000 (18:45 +0200)
commit9cddc36fe2b0fad5dc54732ae49afb42df0b278e
treefd5416c0709951350e020a3532f6ab354a02d557
parent690d72e69692bb8c792d8c1d79516d44aab7fdac
x11: Fix return value of get_device_state

We need to look a the position, not the child surface.
gdk/x11/gdksurface-x11.c